package consumption;

import meterAPI.*;

/**
 * Implements the InputSensor interface to retrieve voltage values from
 * PinReader
 * 
 * @author Pavel
 *
 */
public class Sensor implements InputSensor {

	private PinReader pinReader = new PinReader();

	/**
	 * Gets the data from the sensor. For now it reads a file one line at a time
	 */
	@Override
	public Object getVoltage() {
		return pinReader.read();
	}

}